From: Sebastian Keller Date: Wed, 30 Dec 2020 10:01:44 +0000 (+0100) Subject: calendar-server: Remove unused functions X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~616^2^2~651 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=b3d57dc4bd6f5ef68e54806824fa35a55d06d0da;p=gnome-shell.git calendar-server: Remove unused functions These have been unused since tasks support was dropped when the calendar integration was moved out of process in e9e30138. GCC did not complain about this, because the functions were inlined. Part-of: --- diff --git a/src/calendar-server/gnome-shell-calendar-server.c b/src/calendar-server/gnome-shell-calendar-server.c index 56cee994d..61ac92785 100644 --- a/src/calendar-server/gnome-shell-calendar-server.c +++ b/src/calendar-server/gnome-shell-calendar-server.c @@ -220,30 +220,6 @@ get_ical_is_all_day (ECalClient *cal, return retval; } -static inline time_t -get_ical_due_time (ECalClient *cal, - ICalComponent *icomp, - ICalTimezone *default_zone) -{ - return get_time_from_property (cal, - icomp, - I_CAL_DUE_PROPERTY, - i_cal_property_get_due, - default_zone); -} - -static inline time_t -get_ical_completed_time (ECalClient *cal, - ICalComponent *icomp, - ICalTimezone *default_zone) -{ - return get_time_from_property (cal, - icomp, - I_CAL_COMPLETED_PROPERTY, - i_cal_property_get_completed, - default_zone); -} - static CalendarAppointment * calendar_appointment_new (ECalClient *cal, ECalComponent *comp)